#define _CRT_SECURE_NO_WARNINGS
#include "SeqList.h"
//void test1() {
//	SeqList s;
//	SeqListIntit(&s);
//	SeqListPushBack(&s, 1);
//	SeqListPushBack(&s, 2);
//	SeqListPushBack(&s, 3);
//	SeqListPushBack(&s, 4);
//	SeqListPushBack(&s, 3);
//	SeqListPushBack(&s, 4);
//	//SeqListPrint(&s);
//
//	SeqListPushFront(&s, 1);
//	SeqListPushFront(&s, 2);
//	SeqListPushFront(&s, 3);
//	SeqListPushFront(&s, 4);
//	SeqListPrint(&s);
//
//
//	SeqListDestroy(&s);
//
//}

void test2() {
	SeqList s;
	SeqListIntit(&s);
	SeqListPushFront(&s, 1);
	SeqListPushFront(&s, 2);
	SeqListPushFront(&s, 3);
	/*SeqListPopFront(&s);
	SeqListPopFront(&s);
	SeqListPopFront(&s);
	SeqListPopFront(&s);*/
	/*SeqListPopBack(&s);
	SeqListPopBack(&s);
	SeqListPopBack(&s);
	SeqListPopBack(&s);*/
	SeqListInsert(&s, 3, 6);
	SeqListPrint(&s);
	SeqListErase(&s, 3);
	SeqListPrint(&s);
	/*int ret = SeqListFind(&s, 6);
	printf("%d\n", ret);*/
	SeqListDestroy(&s);
}
int main() {
	test2();
	return 0;
}